from django.db import models


class Special(models.Model):
    """专栏类"""
    f_name = models.CharField(max_length=10, verbose_name='专栏名字')
    f_description = models.CharField(max_length=50, verbose_name='描述')
    f_image = models.CharField(max_length=200, default='', null=True, blank=True, verbose_name='头像')
    create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")


    class Meta:
        db_table = 'tb_zhihu_zhuanti'
        verbose_name = '专栏发现'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.f_name


# class Article(models.Model):
#     """文章类"""
#     name =
